home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / GCC 1.37.1r14 / usr / lib / string / Makefile < prev    next >
Encoding:
Makefile  |  1993-03-20  |  566 b   |  19 lines  |  [TEXT/CPED]

  1. CC=../../bin/gcc
  2. CFLAGS=-c -O -I../../include
  3. SRCS=    bcmp.o bcopy.o bzero.o ffs.o index.o memccpy.o memchr.o \
  4.     memcmp.o memset.o rindex.o strcasecmp.o strcat.o \
  5.     strcmp.o strcoll.o strcpy.o strcspn.o strftime.o \
  6.     strlen.o strmode.o strdup.o strpbrk.o strsep.o strspn.o \
  7.     strstr.o strtok.o strxfrm.o swab.o strncat.o strncmp.o strncpy.o \
  8.         strchr.o strrchr.o
  9.  
  10. all: $(SRCS)
  11.     /usr/bin/ar r ../libc.a $(SRCS)
  12.  
  13. strchr.o : index.c
  14.     $(CC) $(CFLAGS) -Dindex=strchr -o strchr.o index.c
  15.  
  16. strrchr.o : rindex.c
  17.     $(CC) $(CFLAGS) -Drindex=strrchr -o strrchr.o rindex.c
  18.  
  19.